C++ compiler
#c++
まず、gcc
compiler の collectionのよう
$ gcc --version
gcc(Ubuntu 7.3.0.....)
GNU Compiler Collection - Wikipedia
gcc for C, g++ for C++, etc
で、c++
gccの(compilerのcollection)の中で、c++のversionが何か?は、
Which C++ standard is the default when compiling with g++? - Stack Overflow
$ man g++ | col -b | grep -B 1 -e '-std.* default'
GNU dialect of -std=c++14. This is the default for C++ code. The name gnu++1y is deprecated
man g++....で、g++(なぜc++でない?)
compilerとは
Computers understand only one language and that language consists of sets of instructions made of ones and zeros. This computer language is appropriately called machine language.
なるほど。あと、compileするコマンドの例がある
linuxだと gcc。macOS だと clang というのが一般的なのか